import { Input } from "antd"
import { FC } from "react"

import { SFormItem } from "@/components/common"
import { useLocale } from "@/locales"

const FrozenOperatedByInput: FC<any> = ({ isHideLabel = false, name }) => {
	const { newFormat } = useLocale()
	return (
		<SFormItem name={name || "frozenOperatedBy"} label={isHideLabel ? "" : newFormat("risk.frozen_operated_by")}>
			<Input allowClear placeholder={newFormat("common.please_enter")} />
		</SFormItem>
	)
}

export default FrozenOperatedByInput
